var url = j_url.replace("/index.php", "");
require.config({
    urlArgs: 'v=201510211500',
    baseUrl: url,
    paths: {
        'jquery': './static/js/jquery-1.11.1.min',
        'jquery.ui': './static/js/jquery-ui-1.10.3.min',
        'bootstrap': './static/js/bootstrap.min',
        'tpl': './static/js/tmodjs',
        'jquery.touchslider': './static/js/jquery.touchslider.min',
        'swipe': './static/js/swipe',
        'sweetalert': './static/js/sweetalert.min',
        "core": "./static/js/core"
    },
    shim: {
        'jquery.ui': {
            exports: "$",
            deps: ['jquery']
        },
        'bootstrap': {
            exports: "$",
            deps: ['jquery']
        },
        'jquery.touchslider': {
            exports: "$",
            deps: ['jquery']
        },
        'sweetalert': {
            exports: "$",
            deps: ['css!./static/css/sweetalert.css']
        }

    }
});